package service.Seller.impl;

import dao.Seller.SmallclassDao;
import dao.Seller.impl.SmallclassDaoImpl;
import pojo.Discount;
import pojo.Seller;
import pojo.Smallclass;
import service.Seller.SmallclassService;

import java.util.List;

/**
 * 添加下拉列表
 */
public class SmallclassServiceImpl implements SmallclassService {
    private SmallclassDao smallclassDao;
    public SmallclassServiceImpl(){
        smallclassDao=new SmallclassDaoImpl();
    }

    @Override
    public List<Smallclass> addSmallclass() {
        return smallclassDao.addSmallclass();
    }

    @Override
    public List<Seller> addSeller() {
        return smallclassDao.addSeller();
    }

    @Override
    public List<Discount> addDiscount() {
        return smallclassDao.addDiscount();
    }
}
